package com.lv.dhart.beans;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

public class JJHoldStockListBeans implements Serializable {


    /**
     * code : 0
     * msg : success
     * offset : 0
     * data : {"count":1788,"rows":[{"id":14217,"stock_code":"003816","stock_name":"中国广核","holder_rank":2,"holder_name":"香港中央结算有限公司","hold_num":"10110557400.00","hold_num_ratio":"20.02","hold_change":"198988094","change_ratio":"2.01","end_date":"2024-03-31 00:00:00","create_tie":"2024-06-03 17:26:07","update_time":"2024-06-03 17:26:07"},{"id":8413,"stock_code":"601288","stock_name":"农业银行","holder_rank":5,"holder_name":"香港中央结算有限公司","hold_num":"3270284888.00","hold_num_ratio":"0.93","hold_change":"536378888","change_ratio":"19.62","end_date":"2024-03-31 00:00:00","create_tie":"2024-06-03 17:25:37","update_time":"2024-06-03 17:25:37"}]}
     */

    @SerializedName("code")
    private Integer code;
    @SerializedName("msg")
    private String msg;
    @SerializedName("offset")
    private Integer offset;
    @SerializedName("data")
    private DataDTO data;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Integer getOffset() {
        return offset;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public DataDTO getData() {
        return data;
    }

    public void setData(DataDTO data) {
        this.data = data;
    }

    public static class DataDTO {
        /**
         * count : 1788
         * rows : [{"id":14217,"stock_code":"003816","stock_name":"中国广核","holder_rank":2,"holder_name":"香港中央结算有限公司","hold_num":"10110557400.00","hold_num_ratio":"20.02","hold_change":"198988094","change_ratio":"2.01","end_date":"2024-03-31 00:00:00","create_tie":"2024-06-03 17:26:07","update_time":"2024-06-03 17:26:07"},{"id":8413,"stock_code":"601288","stock_name":"农业银行","holder_rank":5,"holder_name":"香港中央结算有限公司","hold_num":"3270284888.00","hold_num_ratio":"0.93","hold_change":"536378888","change_ratio":"19.62","end_date":"2024-03-31 00:00:00","create_tie":"2024-06-03 17:25:37","update_time":"2024-06-03 17:25:37"}]
         */

        @SerializedName("count")
        private Integer count;
        @SerializedName("rows")
        private List<RowsDTO> rows;

        public Integer getCount() {
            return count;
        }

        public void setCount(Integer count) {
            this.count = count;
        }

        public List<RowsDTO> getRows() {
            return rows;
        }

        public void setRows(List<RowsDTO> rows) {
            this.rows = rows;
        }

        public static class RowsDTO implements Serializable {
            /**
             * id : 14217
             * stock_code : 003816
             * stock_name : 中国广核
             * holder_rank : 2
             * holder_name : 香港中央结算有限公司
             * hold_num : 10110557400.00
             * hold_num_ratio : 20.02
             * hold_change : 198988094
             * change_ratio : 2.01
             * end_date : 2024-03-31 00:00:00
             * create_tie : 2024-06-03 17:26:07
             * update_time : 2024-06-03 17:26:07
             */

            @SerializedName("id")
            private Integer id;
            @SerializedName("stock_code")
            private String stockCode;
            @SerializedName("stock_name")
            private String stockName;
            @SerializedName("holder_rank")
            private Integer holderRank;
            @SerializedName("holder_name")
            private String holderName;
            @SerializedName("hold_num")
            private String holdNum;
            @SerializedName("hold_num_ratio")
            private String holdNumRatio;
            @SerializedName("hold_change")
            private String holdChange;
            @SerializedName("change_ratio")
            private String changeRatio;
            @SerializedName("end_date")
            private String endDate;
            @SerializedName("create_tie")
            private String createTie;
            @SerializedName("update_time")
            private String updateTime;

            public Integer getId() {
                return id;
            }

            public void setId(Integer id) {
                this.id = id;
            }

            public String getStockCode() {
                return stockCode;
            }

            public void setStockCode(String stockCode) {
                this.stockCode = stockCode;
            }

            public String getStockName() {
                return stockName;
            }

            public void setStockName(String stockName) {
                this.stockName = stockName;
            }

            public Integer getHolderRank() {
                return holderRank;
            }

            public void setHolderRank(Integer holderRank) {
                this.holderRank = holderRank;
            }

            public String getHolderName() {
                return holderName;
            }

            public void setHolderName(String holderName) {
                this.holderName = holderName;
            }

            public String getHoldNum() {
                return holdNum;
            }

            public void setHoldNum(String holdNum) {
                this.holdNum = holdNum;
            }

            public String getHoldNumRatio() {
                return holdNumRatio;
            }

            public void setHoldNumRatio(String holdNumRatio) {
                this.holdNumRatio = holdNumRatio;
            }

            public String getHoldChange() {
                return holdChange;
            }

            public void setHoldChange(String holdChange) {
                this.holdChange = holdChange;
            }

            public String getChangeRatio() {
                return changeRatio;
            }

            public void setChangeRatio(String changeRatio) {
                this.changeRatio = changeRatio;
            }

            public String getEndDate() {
                return endDate;
            }

            public void setEndDate(String endDate) {
                this.endDate = endDate;
            }

            public String getCreateTie() {
                return createTie;
            }

            public void setCreateTie(String createTie) {
                this.createTie = createTie;
            }

            public String getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(String updateTime) {
                this.updateTime = updateTime;
            }
        }
    }
}
